package me.ywd.feature.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Ye_Wenda
 * @Date 8/24/2017
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @Autowired
    private String aaa;

    @Autowired
    private String bbb;

    @GetMapping()
    public String demo() {
//        return "--";
        return "DEMO-" + "<br/>" + aaa + "<br/>" + bbb;
    }
}
